﻿using Microsoft.Xna.Framework.Net;


namespace PoolGame2.Player
{
    public class CueBallStrikeAction : PlayerAction
    {
        float strength;
        public float Strength
        {
            get { return strength; }
        }

        public CueBallStrikeAction(PlayerActionType type, float stren)
            : base(type)
        {
            strength = stren;
        }

        public override void Pack(PacketWriter output)
        {
            base.Pack(output);
            output.Write(strength);
        }
    }
}
